﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameLib.Utils;

namespace GameLib.Gameplay.Scripting
{
	public enum ScriptReaderNodeType
	{
		MarkupBegin,
		MarkupEnd,
		Attribute,
		Text,
		ScriptBegin,
		ScriptEnd,
	}

	public abstract class ScriptReader
	{
		public abstract ScriptReaderNodeType Read();

		public abstract ScriptReaderNodeType CurrentNodeType { get; }
		public abstract Name MarkupName { get; }
		public abstract string AttrName { get; }
		public abstract string AttrValue { get; }

	}
}
